import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Transaction, User, Subscribe } from '../../model';
import { UserController } from './user.controller';
import { UserService } from './user.service';
import { TelegramBotModule } from '../telegram-bot/telegram-bot.module';

@Module({
	imports: [
		TypeOrmModule.forFeature([User, Subscribe, Transaction]),
		TelegramBotModule,
	],
	controllers: [UserController],
	providers: [UserService],
})
export class UserModule {}
